home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / northc / northc1.lzh / include / stdarg.h < prev    next >
C/C++ Source or Header  |  1990-08-30  |  320b  |  16 lines

  1. /*
  2.  * STDARG.H
  3.  */
  4.  
  5. #ifndef STDARG_H
  6. #define    STDARG_H
  7.  
  8. typedef    char    *va_list;
  9.  
  10. #define va_start(list,param)  list = ((va_list) &(param)) \
  11.                    + ((sizeof(param) + 1) & ~1)
  12. #define va_arg(list,type)     ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
  13. #define va_end(list)          list = ((va_list) 0)
  14.  
  15. #endif STDARG_H
  16.